Skip to content

Add @shopify/checkout-kit web platform scaffolding and CI#93

Merged
westeezy merged 1 commit into
mainfrom
checkout-kit-web
May 14, 2026
Merged

Add @shopify/checkout-kit web platform scaffolding and CI#93
westeezy merged 1 commit into
mainfrom
checkout-kit-web

Conversation

@westeezy
Copy link
Copy Markdown
Contributor

@westeezy westeezy commented May 13, 2026

What changes are you making?

Introduces the fourth platform target — a vanilla JS / Web Components
build of Checkout Kit.

This commit is scaffolding only: src/index.ts exports a single VERSION
string as a placeholder. The component implementation will land in
follow-up PRs.

platforms/web/

  • Vite library build emitting a single ESM bundle plus .d.ts
  • Vitest with happy-dom, v8 coverage, and json-summary output
  • oxlint + oxfmt for linting/formatting
  • publint via pnpm verify to catch package.json regressions
  • custom-elements-manifest generation on build for IDE tooling
  • scripts/check_license_headers.rb mirrors the Android check

.github/workflows/

  • web.yml — lint, test (with PR coverage comment), build, publint
    verify, and pack-and-inspect
  • ci.yml — adds web and web-license-headers jobs behind the
    paths-filter

.github/dependabot.yml

  • Adds an npm ecosystem entry for /platforms/web

How to test


Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

Releasing a new Swift version?
  • I have bumped the version in platforms/swift/ShopifyCheckoutKit.podspec
  • I have bumped the version in platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift
  • I have updated platforms/swift/CHANGELOG.md
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Android version?
  • I have bumped the versionName in platforms/android/lib/build.gradle
  • I have updated platforms/android/CHANGELOG.md
  • I have updated the Gradle/Maven version snippets in platforms/android/README.md

Tip

See the Contributing documentation for the full release process per platform.

@westeezy westeezy marked this pull request as ready for review May 13, 2026 17:34
@westeezy westeezy requested a review from a team as a code owner May 13, 2026 17:34
Copy link
Copy Markdown
Contributor Author

westeezy commented May 13, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Web — Coverage Report

Lines Statements Branches Functions
Coverage: 0%
100% (1/1) 100% (1/1)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 98%
98.53% (202/205) 94.91% (112/118) 100% (61/61)

Copy link
Copy Markdown
Contributor

@toneymathews toneymathews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add updates on this component to the root level CLAUDE.md and AGENTS.md, but that's minor, can be done later as well.

LGTM

Comment thread platforms/web/tsconfig.json
@westeezy westeezy force-pushed the checkout-kit-web branch 2 times, most recently from ad50693 to a99db1a Compare May 14, 2026 00:45
@westeezy westeezy mentioned this pull request May 14, 2026
11 tasks
Comment thread platforms/web/vite.config.ts
@toneymathews toneymathews mentioned this pull request May 14, 2026
11 tasks
@toneymathews toneymathews mentioned this pull request May 14, 2026
11 tasks
@westeezy westeezy force-pushed the checkout-kit-web branch from b88c084 to 508ad6b Compare May 14, 2026 20:41
Introduces the fourth platform target — a vanilla JS / Web Components
build of Checkout Kit.

This commit is scaffolding only: src/index.ts exports a single VERSION
string as a placeholder. The component implementation will land in
follow-up PRs.

platforms/web/
 * Vite library build emitting a single ESM bundle plus .d.ts
 * Vitest with happy-dom, v8 coverage, and json-summary output
 * oxlint + oxfmt for linting/formatting
 * publint via `pnpm verify` to catch package.json regressions
 * custom-elements-manifest generation on build for IDE tooling
 * scripts/check_license_headers.rb mirrors the Android check

.github/workflows/
 * web.yml — lint, test (with PR coverage comment), build, publint
   verify, and pack-and-inspect
 * ci.yml — adds web and web-license-headers jobs behind the
   paths-filter

.github/dependabot.yml
 * Adds an npm ecosystem entry for /platforms/web
@westeezy westeezy force-pushed the checkout-kit-web branch from 508ad6b to 85e7c07 Compare May 14, 2026 21:08
@westeezy westeezy merged commit 278e927 into main May 14, 2026
61 of 65 checks passed
Copy link
Copy Markdown
Contributor Author

Merge activity

@westeezy westeezy deleted the checkout-kit-web branch May 14, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants